package com.jiyun.model;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;



/**
 * @projectName: day05_mohongwei_parent
 * @package: com.jiyun.common.model
 * @className: Course
 * @author: 莫洪维
 * @email: 1204315800@qq.com
 * @description: TODO
 * @date: 2023/8/4 9:49
 */
@Data
@ToString
@TableName(value = "course")
public class Course {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @TableField(value = "course_img")
    private String courseImg;
    @TableField(value = "course_name")
    private String courseName;
    @TableField(value = "study_number")
    private Integer studyNumber;
    @TableField(value = "like_number")
    private Integer likeNumber;
    @TableField(value = "user_id")
    private Long userId;
    @TableField(value = "course_sort")
    private String courseSort;
    @TableField(value = "course_status")
    private String courseStatus;
    @TableField(value = "course_info")
    private String courseInfo;
    @TableField(value = "is_delete")
    private Integer isDelete;

    private Integer dianzhan;

    private Integer num;
    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private Integer pageSize;
    @TableField(exist = false)
    private Integer type;
 @TableField(exist = false)
    private String title;
    @TableField(exist = false)
    private Integer count;

    //标签ID

    @TableField(exist = false)
    private String labelIds;
}
